import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:palmf_hid/common/values/my_color.dart';
import 'package:palmf_hid/generated/assets.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

Widget emptyWidget({String? notice}) {
  return Column(
    mainAxisAlignment: MainAxisAlignment.center,
    children: <Widget>[
      Image.asset(
        Assets.imagesEmptyState,
        width: 0.3.sw,
        fit: BoxFit.cover,
      ),
      Text(
        notice ?? "No data".tr,
        style: const TextStyle(fontSize: 14, color: MyColor.c_66000000),
      )
    ],
  );
}
